<template>
  <div class="container padding_10">
    <div>
      <div class="info_box">
        <div class="title">预约诊所:</div>
        <div class="info_txt">青岛-敦化路诊所</div>
      </div>
      <div class="info_box">
        <div class="title">详细地址:</div>
        <div class="info_txt">青岛市-市北区-敦化路-青岛外贸城</div>
      </div>
      <div class="info_box">
        <div class="title">用户姓名:</div>
        <div class="info_txt">张三</div>
      </div>
      <div class="info_box">
        <div class="title">订单号:</div>
        <div class="info_txt">FAVV6A5DV16AD1A1CZX</div>
      </div>
      <div class="info_box">
        <div class="title">订单金额:</div>
        <div class="info_txt">$2000</div>
      </div>
      <div class="info_box">
        <div class="title">商品描述:</div>
        <div class="info_txt">$2000</div>
      </div>
    </div>

    <button class="pay_btn" @click="pay">立即支付</button>
  </div>
</template>

<script>
  export default {
    data() {
      return {}
    },
    methods: {
      // 开始支付
      pay() {
        this.$message.success('支付成功')
      },
    },
  }
</script>

<style>
  .container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
  }
  .info_box {
    width: 100%;
    height: 14.93333333vw;
    line-height: 14.93333333vw;
    border-bottom: 1px solid #d6d6d6;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .title {
    width: 80px;
    color: #848484;
    padding-top: 0 !important;
  }
  .info_txt {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-left: 2.66666667vw;
    overflow: hidden;
    text-align: right;
  }
  .pay_btn {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    background-color: dodgerblue;
    color: #fff;
    font-size: 14px;
    border: none;
    border-radius: 5px;
  }
</style>
